package Exp_3;

//邻接表的顶点结点类
public class VNode {
  public Object data;//顶点信息
  public ArcNode firstArc;//指向第一条附于该顶点的弧

  public VNode() {
      this(null, null);
  }

  public VNode(Object data) {
      this(data, null);
  }

  public VNode(Object data, ArcNode firstArc) {
      this.data = data;
      this.firstArc = firstArc;
  }

}

